/**
 * @file
 * @desctiption element-ui 组件封装
 */

import {
    Message, Pagination, Tabs,Tag, InputNumber, TabPane, Dialog, Select, Option,
    ButtonGroup, Loading, Button, Dropdown, DropdownItem, Breadcrumb,
    BreadcrumbItem, Menu, MenuItem, MenuItemGroup, Submenu, DropdownMenu,
    Table, TableColumn, Form, FormItem, Input
} from "element-ui";
import components from "com/index";
export default {
    install(Vue) {
        Vue.prototype.$m = Message;
        [components, Pagination,Tag, Tabs, InputNumber, TabPane, Dialog, Select, Option, ButtonGroup, Loading, Button, Dropdown, DropdownItem, DropdownMenu, Breadcrumb, BreadcrumbItem, Menu, MenuItem, MenuItemGroup, Submenu, Table, TableColumn, Form, FormItem, Input].forEach(item => Vue.use(item))
    }
}